package org.linlinjava.litemall.mechanismadmin.dao;

import org.linlinjava.litemall.db.domain.*;

public class GoodsAllinone {
    LitemallGoods goods;
    LitemallGoodsSpecification[] specifications;
    LitemallGoodsAttribute[] attributes;
    // 这里采用 Product 再转换到 LitemallProduct
    LitemallProduct[] products;

    LitemallMechanismGoods mechanismGoods;
    LitemallMechanismGoodsSpecification[] mechanismSpecifications;
    LitemallMechanismGoodsAttribute[] mechanismAttributes;
    // 这里采用 Product 再转换到 LitemallProduct
    LitemallMechanismProduct[] mechanismProducts;

    public LitemallGoods getGoods() {
        return goods;
    }

    public LitemallProduct[] getProducts() {
        return products;
    }

    public void setProducts(LitemallProduct[] products) {
        this.products = products;
    }

    public void setGoods(LitemallGoods goods) {
        this.goods = goods;
    }

    public LitemallGoodsSpecification[] getSpecifications() {
        return specifications;
    }

    public void setSpecifications(LitemallGoodsSpecification[] specifications) {
        this.specifications = specifications;
    }

    public LitemallGoodsAttribute[] getAttributes() {
        return attributes;
    }

    public void setAttributes(LitemallGoodsAttribute[] attributes) {
        this.attributes = attributes;
    }

    public LitemallMechanismGoods getMechanismGoods() {
        return mechanismGoods;
    }

    public void setMechanismGoods(LitemallMechanismGoods mechanismGoods) {
        this.mechanismGoods = mechanismGoods;
    }

    public LitemallMechanismGoodsSpecification[] getMechanismSpecifications() {
        return mechanismSpecifications;
    }

    public void setMechanismSpecifications(LitemallMechanismGoodsSpecification[] mechanismSpecifications) {
        this.mechanismSpecifications = mechanismSpecifications;
    }

    public LitemallMechanismGoodsAttribute[] getMechanismAttributes() {
        return mechanismAttributes;
    }

    public void setMechanismAttributes(LitemallMechanismGoodsAttribute[] mechanismAttributes) {
        this.mechanismAttributes = mechanismAttributes;
    }

    public LitemallMechanismProduct[] getMechanismProducts() {
        return mechanismProducts;
    }

    public void setMechanismProducts(LitemallMechanismProduct[] mechanismProducts) {
        this.mechanismProducts = mechanismProducts;
    }
}
